<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class LinksTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
          [
              'link_name'=>'后盾网',
              'link_title'=>'很牛逼的样子',
              'link_url'=>'www.houdunwang.com',
              'link_order'=>1
          ],
            [
                'link_name'=>'后盾论坛',
                'link_title'=>'好像也很牛逼的样子',
                'link_url'=>'www.bbs.houdunwang.com',
                'link_order'=>2
            ]
        ];
       DB::table('links')->insert($data);
    }
}
